cmake_minimum_required(VERSION 3.31)
project(sentiment_analysis)

set(CMAKE_CXX_STANDARD 26)

# 为 Debug 和 Release 指定不同的编译选项
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -DNDEBUG")

add_executable(sentiment_analysis main.cpp
        sentiment_analysis.hpp
        sentiment_analysis.cpp
        pch.hpp)
